package com.awccis.driver.model;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-04-02 0002 下午 03:33
 * @Since: 1.0
 * @Decription:
 **/
@Component
@Qualifier("statusBean")
public class StatusBean {
    private String statusType;
    private int driverId;
    private int driverNickName;
    private int statusId;
    //private int integralCount;
    private boolean flag;

    public StatusBean() {
    }

    public StatusBean(int driverNickName, int statusId) {
        this.driverNickName = driverNickName;
        this.statusId = statusId;
    }

    public String getStatusType() {
        return statusType;
    }

    public void setStatusType(String statusType) {
        this.statusType = statusType;
    }

    public int getDriverId() {
        return driverId;
    }

    public void setDriverId(int driverId) {
        this.driverId = driverId;
    }

    public int getDriverNickName() {
        return driverNickName;
    }

    public void setDriverNickName(int driverNickName) {
        this.driverNickName = driverNickName;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "StatusBean{" +
                "statusType='" + statusType + '\'' +
                ", driverId=" + driverId +
                ", driverNickName=" + driverNickName +
                ", statusId=" + statusId +
                ", flag=" + flag +
                '}';
    }
}
